//
//  CXHAdapterNativeAdapter.h
//  CXHAdSDK
//
//  Created by 陈坤 on 2022/5/4.
//

#import "CXHAdapterCommonAdapter.h"
#import "CXHAdapterNativeCallBack.h"
#import "CXHAdapterNativeRequestContext.h"

NS_ASSUME_NONNULL_BEGIN

@interface CXHAdapterNativeAdapter : CXHAdapterCommonAdapter

- (instancetype)init NS_UNAVAILABLE;

- (instancetype)new NS_UNAVAILABLE;

@property (nonatomic, weak) id<CXHAdapterNativeCallBack> delegate;

@property (nonatomic, strong) CXHAdapterNativeRequestContext *requestContext;

- (instancetype)initWithPlatformPosModel:(CXHAdSDKPosModel *)posModel
                                  userID:(NSString *)userID
                          viewController:(UIViewController *)viewController
                                   muted:(BOOL)muted
                               loadCount:(int)loadCount
                                  adSize:(CGSize)adSize
                                autoPlay:(BOOL)autoPlay
                       customLoadingPage:(BOOL)customLoadingPage
                                  scenes:(NSDictionary *)scenes
                                 cacheId:(NSString *)cacheId
                            platformType:(NSString *)platformType;

@end

NS_ASSUME_NONNULL_END
